/**
 * 
 */
package ve.com.neometrica.inventario.web.bean;

import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import ve.com.neometrica.inventario.api.model.Inventario;

/**
 * @author acabrera
 *
 */
@ManagedBean(name="listaInventarioBean")
@SessionScoped
public class ListaInventarioBean extends AdministrarBean {

	List<Inventario> inventarios;

	
	

	@Override
	protected void init() {
		this.inventarios = this.getInventarioService().getInventariosConsulta();
	}
	
	public List<Inventario> getInventarios() {
		return inventarios;
	}


	public void setInventarios(List<Inventario> inventarios) {
		this.inventarios = inventarios;
	}

}
